################################################
##Replication Files for On-line supplement for 
#"How to Estimate Public Support for Political Violence and Why It Matters: 
#Impact of Sampling, Engagement Checks, and Question Phrasing"

##Each of the main calls below creates or recreates a specific file or table
##In the paper.

##Please run the "Main" file in the replication materials before running this code

##If you have any questions specifically about this code, please contact the second author.
###########################################################################################
#Supplementary Materials


#S1 is text from NORC, contact authors for original copy

#S2 are citations from works, please see references to replicate values

#S3 - Compute Summary Statistics on sample
source("S3.R")

#Write out data from Figure 1 of Main manuscript in Tabular Form
source("S4.R")

#Plots and table for Force justified to prevent Trump Prosecution
source("S5.R")

#Verify that results robust to different NA Coding
source("S6.R")

#Verify that results robust to different weighting
source("S7.R")

#Include Power Calculations
source("S8.R")
